/*
 * All rights Reserved, Designed By www.goldbeacon.cn
 * @Title:  live-dinner
 * @Package com.ncs.config
 * @author: zuoyanqiang
 * @date:   2022/9/1313:52
 * @version V1.0
 * Copyright © 2022 www.goldbeacon.cn. All Rights Reserved.
 * 注意：本内容仅限于湖南金烽信息科技有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.ncs.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author {user}
 * @title: MyWebMvcConfigurer
 * @description: TODO
 * @date 2022/9/1313:52
 */
@Configuration
public class MyWebMvcConfigurer implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/manager/gallery/**").addResourceLocations("file:C:/git/picture/");
    }
}
